<template>
  <!-- <div class="hello">
  <select name="" id="" v-model="selectorValue" @change="changeOption">
    <option value="1">选项1</option>
    <option value="2">选项2</option>
    <option value="3">选项3</option>

  </select>
  </div> -->
  <select name="" id="">
    <option value="1">选项1</option>
    <option value="2">选项2</option>
    <option value="3">选项3</option>

  </select>
</template>

<script>
export default {
  name: 'HelloWorld',
  created() {
    console.log(this.$attrs);
  },
  inheritAttrs: false,
  // props: {
  //   value: String
  // },
  // data() {
  //   return {
  //    selectorValue: this.value,
  //   };
  // },
  // methods: {
  //   changeOption() {
  //     this.$emit('changeOption', this.selectorValue);
  //   },
  // },
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
h3 {
  margin: 40px 0 0;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
a {
  color: #42b983;
}
</style>
